home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 2.iso
/
STUTTGART
/
FROMUTS
/
UNIXLIB37B
/
test
/
c
/
extest3
< prev
next >
Wrap
Text File
|
1992-03-15
|
292b
|
26 lines
#include <stdlib.h>
#include <stdio.h>
#include "sys/unix.h"
extern void _exit(int);
int main(int argc,char **argv)
{
switch (vfork())
{
case -1:
perror("");
exit(1);
break;
case 0:
execv("allocatest",argv);
perror("");
_exit(1);
break;
default:
wait(0);
break;
}
}